﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
namespace Hangjing.Model
{
    ///<summary>
    ///系统帐户
    ///<summary>
    public class AccountsInfo
    {

        private int _id;
        /// <summary>
        /// ID
        /// </summary>
        public int ID
        {
            get { return _id; }
            set { _id = value; }
        }

        private string _classname;
        /// <summary>
        /// 帐户
        /// </summary>
        public string classname
        {
            get { return _classname; }
            set { _classname = value; }
        }

        private int _depth;
        /// <summary>
        /// 1表示一级分类，2表示二级分类
        /// </summary>
        public int Depth
        {
            get { return _depth; }
            set { _depth = value; }
        }

        private int _status;
        /// <summary>
        /// 未用
        /// </summary>
        public int Status
        {
            get { return _status; }
            set { _status = value; }
        }

        private int _priority;
        /// <summary>
        /// 排序，降序
        /// </summary>
        public int Priority
        {
            get { return _priority; }
            set { _priority = value; }
        }

        private int _parentid;
        /// <summary>
        /// Parentid
        /// </summary>
        public int Parentid
        {
            get { return _parentid; }
            set { _parentid = value; }
        }

        private int _isdel;
        /// <summary>
        /// isDel
        /// </summary>
        public int isDel
        {
            get { return _isdel; }
            set { _isdel = value; }
        }

        private string _pic;
        /// <summary>
        /// pic
        /// </summary>
        public string pic
        {
            get { return _pic; }
            set { _pic = value; }
        }

        private string _hovepic;
        /// <summary>
        /// hovepic
        /// </summary>
        public string hovepic
        {
            get { return _hovepic; }
            set { _hovepic = value; }
        }

        private string _linkurl;
        /// <summary>
        /// linkurl
        /// </summary>
        public string linkurl
        {
            get { return _linkurl; }
            set { _linkurl = value; }
        }

        /// <summary>
        /// 子类
        /// </summary>
        public IList<AccountsInfo> sublist
        {
            get;
            set;
        }

        /// <summary>
        /// 临时显示
        /// </summary>
        public string tempname
        {
            set;
            get;
        }


    }
}

